package org.jxau.service.impl;

import java.util.List;

import org.jxau.bean.Roles;
import org.jxau.dao.RolesDao;
import org.jxau.dao.impl.RolesDaoImpl;
import org.jxau.service.RolesService;
import org.jxau.tools.DBTools;

public class RolesServiceImpl implements RolesService{
	RolesDao dao=new RolesDaoImpl();
	
	@Override
	public List<Roles> getRolesAll() {
		List<Roles> rolesAll = dao.getAllRoles();
		DBTools.closeSqlSession();
		return rolesAll;
	}
}






















